//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Query Application Block
//===============================================================================

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Unity;
using EntLibContrib.Query.Configuration.Unity;
using EntLibContrib.Query.Queries;

namespace EntLibContrib.Query.Configuration
{
	/// <summary>
	/// Configuration data defining WebServiceQueryData.
	/// </summary>    
	[Assembler(typeof(WebServiceQueryAssembler))]
	[ContainerPolicyCreator(typeof(WebServiceQueryPolicyCreator))]
	public class WebServiceQueryData : ServiceQueryData
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="WebServiceQueryData"/> class.
		/// </summary>
		public WebServiceQueryData ()
		{
		}

		/// <summary>
		/// Initialize a new instance of the <see cref="WebServiceQueryData"/> class.
		/// </summary>
		/// <param name="name">The name of the <see cref="WebServiceQueryData"/>.</param>
		/// <param name="customCommandName">Name of the custom command.</param>
		/// <param name="parameterSetName">Name of the parameter set.</param>
		/// <param name="address">The service address.</param>
		/// <param name="service">The service type name.</param>
		/// <param name="method">The service method.</param>
		public WebServiceQueryData(string name, string customCommandName, string parameterSetName, string address, string service, string method)
			: base(name, typeof(WebServiceQuery), customCommandName, parameterSetName, address, service, method)
		{
		}
		#endregion
	}
}